From: Paul Eggert Date: Wed, 16 Mar 2011 21:28:29 +0000 (-0700) Subject: * print.c (Fredirect_debugging_output): Fix pointer signedess. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4366^2~18 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e6d16198390d59cbb4e5ad17b1e070f536961fed;p=emacs.git * print.c (Fredirect_debugging_output): Fix pointer signedess. --- diff --git a/src/ChangeLog b/src/ChangeLog index 163cebd3f0e..50034278f26 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-16 Paul Eggert + * print.c (Fredirect_debugging_output): Fix pointer signedess. + * lisp.h (debug_output_compilation_hack): Add decl here, to avoid warning when compiling print.c. diff --git a/src/print.c b/src/print.c index 29a4bfab790..b2e5965cd1c 100644 --- a/src/print.c +++ b/src/print.c @@ -854,7 +854,7 @@ append to existing target file. */) { file = Fexpand_file_name (file, Qnil); initial_stderr_stream = stderr; - stderr = fopen (SDATA (file), NILP (append) ? "w" : "a"); + stderr = fopen (SSDATA (file), NILP (append) ? "w" : "a"); if (stderr == NULL) { stderr = initial_stderr_stream;